package com.ruoyi.ewem.service;

import com.ruoyi.ewem.domain.Warehouse;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 21037
* @description 针对表【ewem_warehouse(仓库表)】的数据库操作Service
* @createDate 2024-07-27 08:51:54
*/
public interface WarehouseService extends IService<Warehouse> {

    List<Warehouse> selectWarehouseList(Warehouse warehouse);

    int updateWarehouse(Warehouse warehouse);

    Warehouse getByWarehouseId(Integer warehouseId);

    List<Warehouse> getList();

    int stockOut(Warehouse warehouse);

    List<Warehouse> selectCounts();

    List<Warehouse> selectWarehouseById(Integer warehouseId);
}
